package com.ym.medical.domain.param;

import com.ym.common.annotations.CustomConstraint;
import com.ym.base.enums.FlagEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 标准科室对象 standard_dept
 *
 * @author ym
 * @date 2020-08-25
 */
@ApiModel(value = "标准科室-查询")
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class StandardDeptQueryParam {

    @ApiModelProperty("标准科室编码")
    private String deptCode;

    @ApiModelProperty("科室名称")
    private String deptName;

    @ApiModelProperty("科室图标")
    private String deptImgUrl;

    @ApiModelProperty("父级科室编码")
    private String partentDeptCode;

    @ApiModelProperty("科室级别")
    private Integer deptLevel;

    @ApiModelProperty("科室排序")
    private Integer deptSort;

    @ApiModelProperty("状态")
    private String state;

    @ApiModelProperty("删除标志")
    @CustomConstraint(FlagEnum.class)
    private String deleted;

    @ApiModelProperty("ids")
    private Long[] ids;

    @ApiModelProperty("父级标准科室名称")
    private String parentDeptName;
}
